<?php

namespace Hui\StoreBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Hui\StoreBundle\Entity\ThongTinSanPham
 */
class ThongTinSanPham
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var string $tenSp
     */
    private $tenSp;

    /**
     * @var string $hinhAnh
     */
    private $hinhAnh;

    /**
     * @var integer $giaBan
     */
    private $giaBan;

    /**
     * @var string $hieuMay
     */
    private $hieuMay;

    /**
     * @var string $manHinhLcd
     */
    private $manHinhLcd;

    /**
     * @var string $theNho
     */
    private $theNho;

    /**
     * @var string $tinhNangKhac
     */
    private $tinhNangKhac;

    /**
     * @var string $ngonNgu
     */
    private $ngonNgu;

    /**
     * @var string $dinhDangFile
     */
    private $dinhDangFile;

    /**
     * @var string $loaiPin
     */
    private $loaiPin;

    /**
     * @var string $kichThuoc
     */
    private $kichThuoc;

    /**
     * @var string $trongLuong
     */
    private $trongLuong;

    /**
     * @var integer $baoHanh
     */
    private $baoHanh;

    /**
     * @var integer $moi
     */
    private $moi;

    /**
     * @var integer $camUng
     */
    private $camUng;

    /**
     * @var integer $thoiGianSuDung
     */
    private $thoiGianSuDung;

    /**
     * @var string $doPhanGiai
     */
//     private $doPhanGiai;

    /**
     * @var integer $lanXem
     */
    private $lanXem;
    
    /**
     * @var integer $soLuongTon
     */
    private $soLuongTon;

    /**
     * @var Hui\StoreBundle\Entity\KhuyenMai
     */
    private $khuyenMai;

    /**
     * @var Hui\StoreBundle\Entity\LoaiSanPham
     */
    private $loaiSanPham;

    /**
     * @var Hui\StoreBundle\Entity\NhaSanXuat
     */
    private $nhaSanXuat;
    
    /**
     * @var Hui\StoreBundle\Entity\ThongTinChung
     */
    private $thongTinChung;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set tenSp
     *
     * @param string $tenSp
     * @return ThongTinSanPham
     */
    public function setTenSp($tenSp)
    {
        $this->tenSp = $tenSp;
    
        return $this;
    }

    /**
     * Get tenSp
     *
     * @return string 
     */
    public function getTenSp()
    {
        return $this->tenSp;
    }

    /**
     * Set hinhAnh
     *
     * @param string $hinhAnh
     * @return ThongTinSanPham
     */
    public function setHinhAnh($hinhAnh)
    {
        $this->hinhAnh = $hinhAnh;
    
        return $this;
    }

    /**
     * Get hinhAnh
     *
     * @return string 
     */
    public function getHinhAnh()
    {
        return $this->hinhAnh;
    }

    /**
     * Set giaBan
     *
     * @param integer $giaBan
     * @return ThongTinSanPham
     */
    public function setGiaBan($giaBan)
    {
        $this->giaBan = $giaBan;
    
        return $this;
    }

    /**
     * Get giaBan
     *
     * @return integer 
     */
    public function getGiaBan()
    {
        return $this->giaBan;
    }

    /**
     * Set hieuMay
     *
     * @param string $hieuMay
     * @return ThongTinSanPham
     */
    public function setHieuMay($hieuMay)
    {
        $this->hieuMay = $hieuMay;
    
        return $this;
    }

    /**
     * Get hieuMay
     *
     * @return string 
     */
    public function getHieuMay()
    {
        return $this->hieuMay;
    }

    /**
     * Set manHinhLcd
     *
     * @param string $manHinhLcd
     * @return ThongTinSanPham
     */
    public function setManHinhLcd($manHinhLcd)
    {
        $this->manHinhLcd = $manHinhLcd;
    
        return $this;
    }

    /**
     * Get manHinhLcd
     *
     * @return string 
     */
    public function getManHinhLcd()
    {
        return $this->manHinhLcd;
    }

    /**
     * Set theNho
     *
     * @param string $theNho
     * @return ThongTinSanPham
     */
    public function setTheNho($theNho)
    {
        $this->theNho = $theNho;
    
        return $this;
    }

    /**
     * Get theNho
     *
     * @return string 
     */
    public function getTheNho()
    {
        return $this->theNho;
    }

    /**
     * Set tinhNangKhac
     *
     * @param string $tinhNangKhac
     * @return ThongTinSanPham
     */
    public function setTinhNangKhac($tinhNangKhac)
    {
        $this->tinhNangKhac = $tinhNangKhac;
    
        return $this;
    }

    /**
     * Get tinhNangKhac
     *
     * @return string 
     */
    public function getTinhNangKhac()
    {
        return $this->tinhNangKhac;
    }

    /**
     * Set ngonNgu
     *
     * @param string $ngonNgu
     * @return ThongTinSanPham
     */
    public function setNgonNgu($ngonNgu)
    {
        $this->ngonNgu = $ngonNgu;
    
        return $this;
    }

    /**
     * Get ngonNgu
     *
     * @return string 
     */
    public function getNgonNgu()
    {
        return $this->ngonNgu;
    }

    /**
     * Set dinhDangFile
     *
     * @param string $dinhDangFile
     * @return ThongTinSanPham
     */
    public function setDinhDangFile($dinhDangFile)
    {
        $this->dinhDangFile = $dinhDangFile;
    
        return $this;
    }

    /**
     * Get dinhDangFile
     *
     * @return string 
     */
    public function getDinhDangFile()
    {
        return $this->dinhDangFile;
    }

    /**
     * Set loaiPin
     *
     * @param string $loaiPin
     * @return ThongTinSanPham
     */
    public function setLoaiPin($loaiPin)
    {
        $this->loaiPin = $loaiPin;
    
        return $this;
    }

    /**
     * Get loaiPin
     *
     * @return string 
     */
    public function getLoaiPin()
    {
        return $this->loaiPin;
    }

    /**
     * Set kichThuoc
     *
     * @param string $kichThuoc
     * @return ThongTinSanPham
     */
    public function setKichThuoc($kichThuoc)
    {
        $this->kichThuoc = $kichThuoc;
    
        return $this;
    }

    /**
     * Get kichThuoc
     *
     * @return string 
     */
    public function getKichThuoc()
    {
        return $this->kichThuoc;
    }

    /**
     * Set trongLuong
     *
     * @param string $trongLuong
     * @return ThongTinSanPham
     */
    public function setTrongLuong($trongLuong)
    {
        $this->trongLuong = $trongLuong;
    
        return $this;
    }

    /**
     * Get trongLuong
     *
     * @return string 
     */
    public function getTrongLuong()
    {
        return $this->trongLuong;
    }

    /**
     * Set baoHanh
     *
     * @param integer $baoHanh
     * @return ThongTinSanPham
     */
    public function setBaoHanh($baoHanh)
    {
        $this->baoHanh = $baoHanh;
    
        return $this;
    }

    /**
     * Get baoHanh
     *
     * @return integer 
     */
    public function getBaoHanh()
    {
        return $this->baoHanh;
    }

    /**
     * Set moi
     *
     * @param integer $moi
     * @return ThongTinSanPham
     */
    public function setMoi($moi)
    {
        $this->moi = $moi;
    
        return $this;
    }

    /**
     * Get moi
     *
     * @return integer 
     */
    public function getMoi()
    {
        return $this->moi;
    }

    /**
     * Set camUng
     *
     * @param integer $camUng
     * @return ThongTinSanPham
     */
    public function setCamUng($camUng)
    {
        $this->camUng = $camUng;
    
        return $this;
    }

    /**
     * Get camUng
     *
     * @return integer 
     */
    public function getCamUng()
    {
        return $this->camUng;
    }

    /**
     * Set thoiGianSuDung
     *
     * @param integer $thoiGianSuDung
     * @return ThongTinSanPham
     */
    public function setThoiGianSuDung($thoiGianSuDung)
    {
        $this->thoiGianSuDung = $thoiGianSuDung;
    
        return $this;
    }

    /**
     * Get thoiGianSuDung
     *
     * @return integer 
     */
    public function getThoiGianSuDung()
    {
        return $this->thoiGianSuDung;
    }

//     /**
//      * Set doPhanGiai
//      *
//      * @param string $doPhanGiai
//      * @return ThongTinSanPham
//      */
//     public function setDoPhanGiai($doPhanGiai)
//     {
//         $this->doPhanGiai = $doPhanGiai;
    
//         return $this;
//     }

//     /**
//      * Get doPhanGiai
//      *
//      * @return string 
//      */
//     public function getDoPhanGiai()
//     {
//         return $this->doPhanGiai;
//     }

    /**
     * Set lanXem
     *
     * @param integer $lanXem
     * @return ThongTinSanPham
     */
    public function setLanXem($lanXem)
    {
        $this->lanXem = $lanXem;
    
        return $this;
    }

    /**
     * Get lanXem
     *
     * @return integer 
     */
    public function getLanXem()
    {
        return $this->lanXem;
    }
    
    /**
     * Set soLuongTon
     *
     * @param integer $soLuongTon
     * @return ThongTinSanPham
     */
    public function setSoLuongTon($soLuongTon)
    {
    	$this->soLuongTon = $soLuongTon;
    
    	return $this;
    }
    
    /**
     * Get lanXem
     *
     * @return integer
     */
    public function getSoLuongTon()
    {
    	return $this->soLuongTon;
    }

    /**
     * Set khuyenMai
     *
     * @param Hui\StoreBundle\Entity\KhuyenMai $khuyenMai
     * @return ThongTinSanPham
     */
    public function setKhuyenMai(\Hui\StoreBundle\Entity\KhuyenMai $khuyenMai = null)
    {
        $this->khuyenMai = $khuyenMai;
    
        return $this;
    }

    /**
     * Get khuyenMai
     *
     * @return Hui\StoreBundle\Entity\KhuyenMai 
     */
    public function getKhuyenMai()
    {
        return $this->khuyenMai;
    }

    /**
     * Set loaiSanPham
     *
     * @param Hui\StoreBundle\Entity\LoaiSanPham $loaiSanPham
     * @return ThongTinSanPham
     */
    public function setLoaiSanPham(\Hui\StoreBundle\Entity\LoaiSanPham $loaiSanPham = null)
    {
        $this->loaiSanPham = $loaiSanPham;
    
        return $this;
    }

    /**
     * Get loaiSanPham
     *
     * @return Hui\StoreBundle\Entity\LoaiSanPham 
     */
    public function getLoaiSanPham()
    {
        return $this->loaiSanPham;
    }

    /**
     * Set nhaSanXuat
     *
     * @param Hui\StoreBundle\Entity\NhaSanXuat $nhaSanXuat
     * @return ThongTinSanPham
     */
    public function setNhaSanXuat(\Hui\StoreBundle\Entity\NhaSanXuat $nhaSanXuat = null)
    {
        $this->nhaSanXuat = $nhaSanXuat;
    
        return $this;
    }

    /**
     * Get nhaSanXuat
     *
     * @return Hui\StoreBundle\Entity\NhaSanXuat 
     */
    public function getNhaSanXuat()
    {
        return $this->nhaSanXuat;
    }
    
    /**
     * @var Hui\StoreBundle\Entity\DoPhanGiai
     */
    private $doPhanGiai;
    
    /**
     * Set doPhanGiai
     *
     * @param Hui\StoreBundle\Entity\DoPhanGiai $doPhanGiai
     * @return ThongTinSanPham
     */
    public function setDoPhanGiai(\Hui\StoreBundle\Entity\DoPhanGiai $doPhanGiai = null)
    {
    	$this->doPhanGiai = $doPhanGiai;
    
    	return $this;
    }
    
    /**
     * Get doPhanGiai
     *
     * @return Hui\StoreBundle\Entity\DoPhanGiai
     */
    public function getDoPhanGiai()
    {
    	return $this->doPhanGiai;
    }
    
    /**
     * Set thongTinChung
     *
     * @param integer $thongTinChung
     * @return ThongTinSanPham
     */
    public function setThongTinChung($thongTinChung)
    {
    	$this->thongTinChung = $thongTinChung;
    
    	return $this;
    }
    
    /**
     * Get lanXem
     *
     * @return integer
     */
    public function getThongTinChung()
    {
    	return $this->thongTinChung;
    }
    
    private $thanhPhan;
    
    public function getThanhPhan() {
    	return $this->thanhPhan;
    }
    
    public function setThanhPhan($thanhPhan) {
    	$this->thanhPhan = $thanhPhan;
    }
}
